package com.kaede.hayate.modules.sys.service;

import com.kaede.hayate.modules.sys.dto.RoleRequest;
import com.kaede.hayate.modules.sys.entity.Role;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 角色 服务类
 * </p>
 *
 * @author Kaede
 * @since 2018-06-06
 */
public interface IRoleService extends IService<Role> {

    Long createRole(Role role, Long[] authorityIds);

    void deleteRoleById(Long id);

    void updateRoleById(Role role, Long[] authorityIds);
}
